projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e171f49
)
Avoid unused variable warnings
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 23 Mar 2017 16:15:00 +0000
(16:15 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 23 Mar 2017 16:15:00 +0000
(16:15 +0000)
gdk/x11/gdkscreen-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkscreen-x11.c
b/gdk/x11/gdkscreen-x11.c
index 5011155f66078a205e0f896e6b23be027350dac9..fb27fdc97358193eccb0a031e61aa3b9809eceba 100644
(file)
--- a/
gdk/x11/gdkscreen-x11.c
+++ b/
gdk/x11/gdkscreen-x11.c
@@
-919,6
+919,7
@@
_gdk_x11_screen_get_edge_monitors (GdkScreen *screen,
gint *left,
gint *right)
{
+#ifdef HAVE_XFREE_XINERAMA
GdkX11Screen *x11_screen = GDK_X11_SCREEN (screen);
GdkWindow *root_window = gdk_screen_get_root_window (screen);
gint top_most_pos = gdk_window_get_height (root_window);
@@
-926,7
+927,6
@@
_gdk_x11_screen_get_edge_monitors (GdkScreen *screen,
gint bottom_most_pos = 0;
gint right_most_pos = 0;
gint i;
-#ifdef HAVE_XFREE_XINERAMA
XineramaScreenInfo *x_monitors;
int x_n_monitors;
#endif